package com.roger.springcloudFinchley.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by admin on 2019/12/20.
 */
@RestController
@RequestMapping(value = "/provider")
public class ProviderController {

    @GetMapping(value = "/get")
    public String get(String name){
        System.out.println("get" + name + " success");
        return "get " + name + " success";
    }
}
